package com.leigang.java.code.design.mode.proxy.dynamic;

/**
 * @author leig-a
 * @version 1.0
 * @desc
 * @date 2022/6/16 17:27
 */
public class CarTest {
    public static void main(String[] args) {
        CarSystemProxy carSystemProxy = new CarSystemProxy();
        CarInterfaces proxy = (CarInterfaces) carSystemProxy.getProxy();
        proxy.run();
        proxy.playMusic();
        proxy.stop();
    }
}
